//异步执行
function add(a,b,handler){
    setTimeout(function(){
        let result = a + b;
        handler(result)
    },3000)
}

add(2,3,function(result){
    console.log("结果为:",result);
});
console.log("买菜..");
